// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`example.js 1`] = `
/* @flow */

var lib = require('./library');

function add(a: number, b: number): number {
  return a + b;
}

var re = /^keynote (talk){2} (lightning){3,5} (talk){2} closing partytime!!!/

// t123456
add(lib.iTakeAString(42), 7);

// D123456
lib.bar();
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* @flow */

var lib = require("./library");

function add(a: number, b: number): number {
  return a + b;
}

var re = /^keynote (talk){2} (lightning){3,5} (talk){2} closing partytime!!!/;

// t123456
add(lib.iTakeAString(42), 7);

// D123456
lib.bar();

`;

exports[`imports.js 1`] = `
// @flow

import thing from "./helpers/exports_default.js";
thing;

import {foo, bar as baz} from "./helpers/exports_named.js";
foo;
baz;

import * as things from "./helpers/exports_named.js";
things;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// @flow

import thing from "./helpers/exports_default.js";
thing;

import { foo, bar as baz } from "./helpers/exports_named.js";
foo;
baz;

import * as things from "./helpers/exports_named.js";
things;

`;

exports[`library.js 1`] = `
/* @flow */

module.exports = {

  iTakeAString: function(name: string): number {
    return 42;
  },

  bar: function(): number {
    return 42;
  },

};
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* @flow */

module.exports = {
  iTakeAString: function(name: string): number {
    return 42;
  },

  bar: function(): number {
    return 42;
  }
};

`;
